﻿using DataCenter.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataCenter.Model.Interface
{
    public interface IModelCatProvider
    {
        List<ModelCat> SearchModelCats(out int totalrecord, string model=null, int pagesize = 0, int pageindex = 0);

        ModelCat RetrieveModel(string model);

        bool Add(ModelCat obj);

        bool Update(ModelCat obj);
    }
}
